home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1628 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  991 b 

  1. From: itschere@techfak.uni-bielefeld.de
  2. Subject: Re: More Problems (fwd)
  3. Date: Sat, 18 Jun 94 17:57:10 MET DST
  4.  
  5. > Also, I think the Mintlib's system() call is screwed up.  My entire 
  6. > system locks up when I execute it, and I've used gdb to make sure that
  7. > it was system (the command line passed seems to run but then the whole
  8. > system crashes).  System() gets to _realloc() according to gdb.
  9.  
  10.  Btw, why does the Mintlib scans the arguent of system itself and doesn't
  11. let a shell do the job? Is this a relict of the days when there weren't any
  12. shells around which could do I/O redirection? if you would really start up
  13. a shell with something like:
  14.  
  15. system(char *cmd)
  16. {
  17.     execl("bin/sh", "sh", "-c", cmd, NULL);
  18. }
  19.  
  20.  things would be easier any more features would be available.
  21.  
  22. ciao,
  23. TeSche
  24. -- 
  25. Torsten Scherer (Schiller, TeSche...)
  26. Faculty of Technology, University of Bielefeld, Germany, Europe, Earth...
  27. | Use any of "finger itschere@129.70.131                |
  28. | Last updated: 14. April 1994                        |
  29.